package com.yushu.authority.pojo.bo;

import java.io.Serializable;
import java.util.*;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yushu.common.configuration.spring.SpringMVCCustomJsonDateDeserializer;


/**
 * 
 * @author test
 * @CreateDate 2020-12-03 15:47:24
 */
@Data
@TableName("pm_org")
public class PmOrg implements Serializable {
	private static final long serialVersionUID = 1L;
	//列开始
	@Getter
    @Setter
	@TableId(value = "id", type = IdType.UUID)
	private String id;//机构主键
	@Getter
    @Setter
	@TableField(value="p_id")
	private String pid;//父级机构
	@Getter
    @Setter
	private String orgName;//机构名称
	@Getter
    @Setter
	private String orgIntro;//机构简介
	@Getter
    @Setter
	private String orgAddress;//机构地址
	@Getter
    @Setter
	private String orgCertificate;//机构证件
	@Getter
    @Setter
	private String orgLeader;//机构负责人
	@Getter
    @Setter
	private String orgState;//机构状态
	@Getter
    @Setter
	private String orgCoder;//机构代码
	@Getter
    @Setter
	private String orgPostcode;//机构邮编
	@Getter
    @Setter
	private String orgPhone;//机构联系电话
	@Getter
    @Setter
	private String orgOrder;//机构排序
	@Getter
    @Setter
	private String deleteState;//逻辑删除标志
	@Getter
	@Setter
//	@TableField(value = "create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;//创建时间
	@Getter
    @Setter
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;//修改时间
	@Getter
    @Setter
	private String createUserId;//创建人
	@Getter
    @Setter
	private String updateUserId;//修改人
	//列结束
}
